package com.ptt.jituangou.widgets.listener

import androidx.viewpager.widget.ViewPager

/**
 * Created by TangJian on 2017/3/2.
 * Description: ViewPager类的页面切换监听
 * Modified: by TangJian on 2017/3/2.
 */
abstract class OnPageSelectListener : ViewPager.OnPageChangeListener {
    override fun onPageScrollStateChanged(state: Int) {
    }

    override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) {
    }

    abstract override fun onPageSelected(position: Int)
}